Skip to content

refactor: centralize file status translations in FileStatus enum#6148

Merged
vitormattos merged 1 commit intomainfrom
refactor/centralize-file-status-translations
Dec 11, 2025
Merged

refactor: centralize file status translations in FileStatus enum#6148
vitormattos merged 1 commit intomainfrom
refactor/centralize-file-status-translations

Conversation

@vitormattos
Copy link
Copy Markdown
Member

  • Add getLabel() method to FileStatus enum similar to DocMdpLevel and SignRequestStatus
  • Simplify FileMapper::getTextOfStatus() to delegate to enum's getLabel()
  • Improves maintainability by centralizing translations in a single place

- Add getLabel() method to FileStatus enum similar to DocMdpLevel and SignRequestStatus
- Simplify FileMapper::getTextOfStatus() to delegate to enum's getLabel()
- Improves maintainability by centralizing translations in a single place

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos vitormattos added this to the Next Major (33) milestone Dec 11, 2025
@vitormattos vitormattos self-assigned this Dec 11, 2025
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in Roadmap Dec 11, 2025
@vitormattos
Copy link
Copy Markdown
Member Author

/backport to stable32

@vitormattos
Copy link
Copy Markdown
Member Author

/backport to stable31

@vitormattos vitormattos merged commit 4c740d9 into main Dec 11, 2025
65 checks passed
@vitormattos vitormattos deleted the refactor/centralize-file-status-translations branch December 11, 2025 23:09
@github-project-automation github-project-automation Bot moved this from 0. Needs triage to 4. to release in Roadmap Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant